<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport"
        content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/mui.min.css">
    <link rel="stylesheet" href="css/connact.css">
    <script src='js/vue.js'></script>
    <script src='js/axios.js'></script>
    <title>联系我们</title>
</head>

<body>
    <header class="mui-bar mui-bar-nav head">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <h1 class="mui-title connact_font">联系我们</h1>
    </header>
    <main>
        <div id='app'>
                <div class="mui-content main">
                        <div class="outside tou">
                            <!--telephone  -->
                            <div class='layout'>
                                <div class='tel border'>
                                    <img src="images/icon_tel.png" class='image'>
                                    <a  herf='javascript:void()' class='font'>{{connacts.code}}</a>
                                </div>
                            </div>
                            <!-- email -->
                            <div class='layout'>
                                <div class='border'>
                                    <img src="images/icon_email.png" class='email'>
                                    <a href="javascrit:void()" class='font'>{{connacts.name}}</a>
                                </div>
                            </div>
                            <!-- 二维码 -->
                            <div class='layout'>
                                <div>
                                    <img src="images/icon_erweima.png" class='erweima'>
                                    <span class='font'>二维码</span>
                                </div>
                                <img src="images/picture_erweima.png" class='picture'>
                            </div>
            
                        </div>
                    </div>
        </div>
    </main>
    <footer>

    </footer>
    <script src="js/mui.min.js"></script>
    <script >
         const API_PROXY = 'https://bird.ioliu.cn/v1/?url='
        new Vue({
            el:'#app',
            data:{
                connacts:''
            },
            created(){
                axios.post(API_PROXY + "mingpian.32one.top/Index/Member/contact")
                        .then(res => {
                            this.connacts =res.data.data
                        })
            }
        })

    </script>
</body>

</html>